function new_coef = generateCropedCoef(orig_coef, border, qtable)
    [M, N] = size(orig_coef);
    orig_coef.* qtable
end
